package org.jackysoft.service;

import java.util.Collection;

import org.jackysoft.data.IDataProvider;
import org.jackysoft.entity.WorkflowSetting;
import org.jackysoft.entity.WorkflowSettingPK;
import org.springframework.dao.DataAccessException;


public interface WorkflowSettingService extends IDataProvider<WorkflowSettingPK,WorkflowSetting> {
     Collection<WorkflowSetting> getsByName(String workflowName) throws DataAccessException;
     void update(Collection<WorkflowSetting> sts)throws DataAccessException;
     WorkflowSetting get(long workflowId,int actionId,int stepId)throws DataAccessException;
     WorkflowSetting combine(Long entityId,String workflowName,int actionId,Long stepId)throws DataAccessException;
}